package com.alibaba.aliper.remote.proxy;

import com.alibaba.aliper.remote.transport.ITransport;

public class ProxyFactory {

	private ITransport transporter = null;
	private FrantendProxy frontendProxy = null;
	private BackendProxy backendProxy = null;
	
	public <T> T getProxy(Class<T> type) {
		return (T)(frontendProxy.proxy(type));
	}
	
	public static void main(String[] args) throws Exception {
		ProxyFactory obj = new ProxyFactory().getProxy(ProxyFactory.class);
		
		System.out.println(obj);
	}
}
